<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="csrf-token" content="{{ csrf_token() }}">
@foreach($config as $v)
<meta name="description" content="{{ $v->description }}" />
<meta name="keywords" content="{{ $v->keys }}" />
<title>{{ $v->title }}</title>
@endforeach
<link href="{{asset('css/base.css')}}" rel="stylesheet" type="text/css" />
<link href="{{asset('css/personal.css')}}" rel="stylesheet" type="text/css" />
<link href="{{asset('css/index.css')}}" rel="stylesheet" type="text/css" />
<link href="{{asset('css/personal.css')}}" rel="stylesheet" type="text/css" />
<link href="{{asset('css/userdetail.css')}}" rel="stylesheet" type="text/css" />
<link href="{{asset('css/order.css')}}" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="{{asset('js/jquery-1.2.6.pack.js')}}"></script>
<script type="text/javascript" src="{{asset('js/public.js')}}"></script>
<script type="text/javascript" src="{{asset('js/user.js')}}"></script>
<script type="text/javascript" src="{{asset('js/jquery.pager.js')}}"></script>

</head>
<body>
<div class="side_con">
	<div class="l_m">
	@if(session()->get('homeuser'))
		<div class="f_l l_m_l">
			您好,尊贵的会员！{{ session()->get('homeuser')->username }}<a href="{{ url('home/logout') }}" class="huise">[退出]</a>
		</div><!--l_m_l end-->
	@else
		<div class="f_l l_m_l">
			您好，欢迎来麦路客商城！<a href="{{ url('home/login') }}" class="huise">[登录]</a><a href="{{ url('home/zhuce') }}" class="huise">[免费注册]</a>
		</div><!--l_m_l end-->
	@endif
		<div class="f_r l_m_r">
			<ul class="clearfix">
				<li class="collect"><a onclick="bookmark();" href="javascript:void(0);">加入收藏</a></li>
				<li><a href="javascript:void(0);">帮助中心</a></li>
				<li><a href="{{url('home1/order')}}" class="yellow">我的订单</a></li>
				<li class="my-mesaer">
					<a href="javascript:void(0);">我的麦路客<span class="arrow"></span></a>
					<ul id="my-list">
                        <li><a href="{{url('home1/space')}}">我的空间</a></li>
                        <li><a href="{{url('home1/info')}}">我的信息</a></li>
						<li><a href="{{url('home1/order')}}">我的订单</a></li>
						<li><a href="{{url('home1/favorites')}}">我的收藏</a></li>
					</ul>
				</li>
			</ul>
		</div><!--l_m_r end-->
	</div><!--l_m end-->
</div><!--side_con end-->
<div class="header container">
	<div class="l_s">
	@foreach($config as $v)
		<a title="网上购物麦路客商城" class="f_l logo" href="{{url('/home')}}"><img src="{{ asset('uploads').'/'.$v->logo }}" alt="网上购物麦路客商城" width="152" height="71" /></a>
	@endforeach
		<div class="f_l l_s_l">
			<form method="post" action="" id="ui_element">
				<div class="f_l input_l"><input type="text" id="birds" class="sb_input text" value="" autocomplete="off" onkeydown="javascript:if(event.keyCode==13) search('key');"><ul id="tieslide"></ul></div>
				<div class="f_l input_r"><button type="submit" onclick="search('key');return false;">搜商品</button></div>
			</form>
		</div><!--l_s_l end-->
		<ul class="f_r l_s_r">
			<li class="icon_01"><a title="货到付款" href="help/payment.html">货到付款</a></li><li class="icon_02"><a title="支付宝支付" href="help/payment.html">支付宝支付</a></li><li class="icon_03"><a title="7天退换" href="help/policy.html">7天退换</a></li><li class="icon_04"><a title="提供发票" href="help/invoice-system.html">提供发票</a></li>
		</ul><!--l_s_r end-->
	</div><!--l_s end-->
	<div class="site-nav">
		<div class="floor_nav">
			<ul class="floors">
				<li id="floor_0"><a class="track" title="首页" href="/home" style="color:gold;"><b>首页</b></a></li>
				<span style="display:none;">{{$num=1}}</span>
				@foreach($list as $v)
				@if($v->pid==0)
				<li id="floor_{{ $num }}"><a class="track" title="{{ $v->name }}" href="javascript:void(0);">{{ $v->name }}</a></li>
				@endif
				<span style="display:none;">{{$num++}}</span>
				@endforeach
			</ul>
			<div class="buy_cart">
				<a class="gocart" href="/home1/cart" target="_blank">购物车</a>
				<a class="gopay" href="javascript:void(0);">去结账</a>
			</div>
		</div><!--floor_nav end-->
		<div class="sub-floor-menus">
		<span style="display:none;">{{$num=1}}</span>
		@foreach($list as $v)
		@if($v->pid==0)
			<div class="menu" id="sub_floor_{{$num}}">
				<div class="meun_sort">
					<div class="sort clearfix">
						<ul class="f_l sort_nav">
							@foreach($list as $k)
							@if($k->pid==$v->id)
							<li>
								<dl>
									<dt><a href="/home/type/">{{ $k->name }}</a></dt>
								</dl>
							</li>
							@endif
							@endforeach
						</ul><!--sort_nav end-->
						<div class="f_l sort_pp">
							<h3>热门品牌</h3>
							<p align="center"><a href="#"><img src="{{asset('images/polo.jpg')}}" width="135" height="137" alt="美素活悦弹力系列" /></a></p>
							<div class="blank10"></div>
							<h3>新品推荐</h3>
							<p align="center"><a href="#"><img src="{{asset('images/polo.jpg')}}" width="135" height="137" alt="美素活悦弹力系列" /></a></p>
						</div><!--sort_pp end-->
					</div><!--sort end-->
				</div><!--meun_sort end-->
			</div><!--sub_floor_1 end-->
		@endif
		<span style="display:none;">{{$num++}}</span>
		@endforeach
		</div><!--sub_floor_menus end-->
	</div><!--site-nav end-->
</div><!--header end-->
<div class="content container">
	<div class="breadcrumbs">
		<a href="index.html">首页</a><span>></span>我的麦路客
	</div><!--breadcrumbs end-->
	<div class="f_l personal_l">
		<h2><a href="my-mesaer.html" title="我的麦路客">我的麦路客</a></h2>
		<div class="personal_l_m" id="personal_list">
			<dl>
				<dt class="current"><div><b class="f_l"></b>帐户管理</div></dt>
				<dd>
					<a href="{{url('home1/order')}}">我的订单</a>
					<a href="{{url('home1/favorites')}}">我的收藏夹</a>
				</dd>
			</dl>
			<dl>
				<dt class="current"><div><b class="f_l"></b>个人信息管理</div></dt>
				<dd>
					<a href="{{url('home1/info')}}">编辑个人信息</a>
					<a href="{{url('home1/change')}}">修改密码</a>
					<a href="{{url('home1/address')}}">修改送货信息</a>
				</dd>
			</dl>
			<dl>
				<dt class="current"><div><b class="f_l"></b>商品评论与回复</div></dt>
				<dd>
					<a href="{{url('/home1/comm')}}">我的评论</a>
					<a href="{{url('/home1/reply')}}">回复信息</a>
				</dd>
			</dl>
		</div><!--personal_l_m end-->
		<div class="personal_l_b"></div>
	</div><!--personal_l end-->
<section>
    @yield('content')
</section>
    <div class="clear mb-10"></div>
</div>
<div class="footer container">
	<div class="service">
		<div class="cat_bg"></div>
		<div class="help_list clearfix">
			<dl>
				<dt>新手指南</dt>
				<dd><a href="help/index.html" target="_blank"><span>购物流程</span></a></dd>
				<dd><a href="help/account.html" target="_blank"><span>我的麦路客</span></a></dd>
				<dd><a href="help/common.html" target="_blank"><span>常见问题</span></a></dd>
				<dd><a href="register.html" target="_blank"><span>注册用户</span></a></dd>
				<dd><a href="forgot-password.html" target="_blank"><span>找回密码</span></a></dd>
			</dl>
			<dl>
				<dt>订单问题</dt>
				<dd><a href="help/order-status.html" target="_blank">订单状态</a></dd>
				<dd><a href="help/cancel-order.html" target="_blank">取消订单</a></dd>
				<dd><a href="help/not-order.html" target="_blank">未达订单</a></dd>
			</dl>
			<dl>
				<dt>会员积分</dt>
				<dd><a href="help/integral-rules.html" target="_blank">积分规则</a></dd>
				<dd><a href="help/integral.html" target="_blank">积分问题</a></dd>
				<dd><a href="help/exchange-integral.html" target="_blank">积分兑换</a></dd>
			</dl>
			<dl>
				<dt>如何付款/退款</dt>
				<dd><a href="help/payment.html" target="_blank">支付方式</a></dd>
				<dd><a href="help/wait-pay.html" target="_blank">支付等待</a></dd>
				<dd><a href="help/pay-issue.html" target="_blank">支付问题</a></dd>
				<dd><a href="help/refund.html" target="_blank">办理退款</a></dd>
				<dd><a href="help/invoice-system.html" target="_blank">发票制度</a></dd>
			</dl>t8
			<dl>
				<dt>配送和收费</dt>
				<dd><a href="help/time-range.html" target="_blank">配送时间</a></dd>
				<dd><a href="help/delivery-time.html" target="_blank">送达时间</a></dd>
				<dd><a href="help/inspection-sign.html" target="_blank">验货与签收</a></dd>
				<dd><a href="help/express.html" target="_blank">快递配送和收费</a></dd>
				<dd><a href="help/ems.html" target="_blank">EMS配送和收费</a></dd>
			</dl>
			<dl>
				<dt>售后服务</dt>
				<dd><a href="help/policy.html" target="_blank">退换货政策</a></dd>
				<dd><a href="help/apply-goods.html" target="_blank">如何办理退换货</a></dd>
			</dl>
		</div>
	</div><!--service end-->
	<div class="copyright">
		<a href="help/about.html" target="_blank">关于麦路客</a><span>|</span><a href="help/contact.html" target="_blank">联系麦路客</a><span>|</span><a href="help/job.html" target="_blank">加入麦路客</a><span>|</span><a href="sort.html" target="_blank">网站地图</a><span>|</span><a href="help/complainting.html" target="_blank">投诉与建议</a><span>|</span><a href="help/links.html" target="_blank">友情链接</a><br />
		Copyright&nbsp;&nbsp;©&nbsp;&nbsp;2009-2011&nbsp;&nbsp;<a title="麦路客商城" href="http://www.mailuke.com/">www.mailuke.com</a>&nbsp;&nbsp;麦路客商城版权所有<span>|</span><a href="http://www.miibeian.gov.cn/" target="_blank">沪ICP备10031526号</a><br />
		<a href="#" target="_blank"><img src="images/beian.gif" width="128" height="47" alt="经营性网站备案中心" /></a><a href="#" target="_blank"><img src="images/trustA.gif" width="119" height="47" alt="A级-信用企业" /></a><a href="#" target="_blank"><img src="images/alipay.gif" width="123" height="40" alt="支付宝-特约商家" /></a>
	</div><!--copyright end-->
</div><!--footer end-->

<!-- plugin -->
<script type="text/javascript" src="{{asset('js/lib.js')}}"></script>
<script type="text/javascript" src="{{asset('js/index.js')}}"></script>
<script type="text/javascript" src="{{asset('js/Validate.personal.js')}}"></script>

</body>
</html>
